<?php
/* @var $this GroupController */

$this->pageTitle=Yii::app()->name.'-搜索结果';
?>
<h1>搜索结果</h1>

<ul>
<?php if(isset($_GET['type']) && $_GET['type'] == 'group'):?>
	<?php foreach($result as $item):?>
		<li><a href="<?=$this->createUrl('group/visit',array('id'=>$item->id))?>"><?=$item->name?></a></li>
	<?php endforeach;?>
<?php endif;?>
</ul>
